import React from 'react'

// 路由模板加载标签
import { Outlet } from 'react-router-dom'

import Info from '@/components/Room/Info'
import Confirm from '@/components/Room/Confirm'


// 路由列表
const list = [
    {
        path: 'info',
        component: Info,
    },
    {
        path: 'confirm',
        component: Confirm,
        auth: true
    },
    
]

const Layout = () =>  <Outlet />

const RouterList = [
    {
        path: '/room',
        component: Layout,
        children: list
    }
]


export default RouterList;